<!--
 * @Author: Lin Hongwei
 * @Date: 2021-12-12 20:21:29
 * @LastEditTime: 2021-12-14 20:20:03
 * @LastEditors: Lin Hongwei
 * @email: 1365755396@qq.com
 * @CSDN: https://blog.csdn.net/weixin_45429409
 * @Description: 头部标题栏
-->
<template>
<div class="munebar">
    <transition name="menu-down">
        <div class="menu menu-top" v-show="showMenu">
          <div class="menu-item">
            <span class="menu-item-item iconfont icon-shangyiye" />
          </div>
          <div class="menu-item">
            <div class="title">{{ title }}</div>
          </div>
          <div class="menu-item">
            <div class="right"></div>
          </div>
        </div>
      </transition>
</div>
  
</template>

<script>
export default {
    name:"TitleBar",
    props:{
        showMenu:{
            type:Boolean,
            default:false,
        },
        title:{
            type:String,
            default:"XXX"
        }
    }
}
</script>

<style lang="scss" scoped>
@import "@/assets/style/menu.scss";
</style>
